package org.fuys.etp.core.metrics.impl.trend.type.impl;


import org.fuys.etp.core.metrics.impl.trend.type.StageJudgeTypeProcessor;
import org.fuys.etp.core.model.type.EtpTaskTrendTypeEnum;
import org.fuys.etp.core.model.vo.TpConfigVO;
import org.springframework.stereotype.Component;

import java.util.concurrent.ThreadPoolExecutor;

/**
 * @projectName: fuys-etp
 * @package: org.fuys.etp.core.metrics.fixed.impl
 * @className: TaskAvgTimeHandler
 * @author: WangJing
 * @description: 平均任务处理时间处理器
 * @date: 2025/2/8 18:36
 * @version: 1.0
 */
@Component("taskAvgTimeHandle")
public class TaskAvgTimeHandler implements StageJudgeTypeProcessor {
    @Override
    public Integer judge(boolean expansion, String compareType, ThreadPoolExecutor poolExecutor, TpConfigVO configVO) {
        return EtpTaskTrendTypeEnum.NONE.getType();
    }
}
